package HomeWork;
public class HomeWork01 {

	public static void main(String[] args) {

		int i = 0,i2 = 10;
		while(i < 5){
			i++;
			i2++;
			if(i >= 2 && i2 <15){
				System.out.print("i:" + i);
				System.out.println(",i2:" + i2);
			}
		}
		System.out.println("------------");
		while(i2 < 20){
			i++;
			i2++;
			if(i > 8 || i2 <= 18){
				System.out.print("i:" + i);
				System.out.println(",i2:" + i2);
			}
		}
	}

}
